import request from '@/utils/request'

// 查询秋月用户列表
export function listMusicuser(query) {
  return request({
    url: '/music/musicuser/list',
    method: 'get',
    params: query
  })
}

// 查询秋月用户详细
export function getMusicuser(id) {
  return request({
    url: '/music/musicuser/' + id,
    method: 'get'
  })
}

// 新增秋月用户
export function addMusicuser(data) {
  return request({
    url: '/music/musicuser',
    method: 'post',
    data: data
  })
}

// 修改秋月用户
export function updateMusicuser(data) {
  return request({
    url: '/music/musicuser',
    method: 'put',
    data: data
  })
}

// 删除秋月用户
export function delMusicuser(id) {
  return request({
    url: '/music/musicuser/' + id,
    method: 'delete'
  })
}
